package com.chen.Dome4synchronized_code;

public class Threadsafedome1 {
    public static void main(String[] args) {
        //目标：解决线程安全问题
        Account acc=new Account("123456",100000);
        new drawThread("小明",acc).start();
        new drawThread("小红",acc).start();

    }
}
